home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software of the Month Club 1996 April
/
Software of the Month Club 1996 April.iso
/
pc
/
dos
/
biz
/
install.bat
< prev
Wrap
DOS Batch File
|
1996-02-21
|
1KB
|
43 lines
echo off
rem %1 is the directory name that program will be copied to.
rem %2 is the name of the program to be copied
rem %3 is the file that starts the program to be copied
cls
echo ................................................................
echo .
echo . %2 will be installed to your
echo .
echo . C:\THECLUB\%1 directory.
echo .
echo . Checking for Directory C:\THECLUB, if it does not exist
echo . it will be created.
ECHO .
echo .
echo .
md c:\THECLUB
echo ................................................................
echo .
echo . Making directory C:\THECLUB\%1
echo .
echo .
md c:\THECLUB\%1
pause
echo ................................................................
echo .
echo . Copying files to your hard drive.
echo . This is a list of files being copied to your hard drive.
echo .
echo .
xcopy %1 c:\THECLUB\%1 /S
pause
cls
echo %2 is now installed to your Hard Drive C: in directory
echo C:\THECLUB\%1. To run this program from a DOS prompt
echo type C: and press the ENTER key then type
echo CD \THECLUB\%1 and press the ENTER key. Your prompt will
echo now be C:\THECLUB\%1.
ECHO .
echo To start the program type %3 and press the ENTER key.
echo .
pause